package view;

import javax.swing.JPanel;

/**
 *
 * @author Sonny Sandberg
 */
public class ViewContainer
{
    private JPanel theView;
    private String theViewName;
    private int
            posX,
            posY;
    private String pageTitle;

    public ViewContainer(JPanel theView, String theViewName, int x, int y, String pageTitle)
    {
        this.theView = theView;
        this.theViewName = theViewName;
        this.posX = x;
        this.posY = y;
        this.pageTitle = pageTitle;
    }

    public JPanel getTheView()
    {
        return theView;
    }

    public String getTheViewName()
    {
        return theViewName;
    }

    public int getPosX()
    {
        return posX;
    }

    public int getPosY()
    {
        return posY;
    }

    public String getPageTitle()
    {
        return pageTitle;
    }
}